//
//  TFY_TextLayerChainModel.m
//  TFY_LayoutCategoryUtil
//
//  Created by tiandengyou on 2020/3/30.
//  Copyright © 2020 田风有. All rights reserved.
//

#import "TFY_TextLayerChainModel.h"
#define TFY_CATEGORY_CHAIN_TEXTLAYER_IMPLEMENTATION(TFY_Method,TFY_ParaType) TFY_CATEGORY_CHAIN_LAYERCLASS_IMPLEMENTATION(TFY_Method,TFY_ParaType, TFY_TextLayerChainModel *, CATextLayer)
@implementation TFY_TextLayerChainModel

TFY_CATEGORY_CHAIN_TEXTLAYER_IMPLEMENTATION(string, id)
TFY_CATEGORY_CHAIN_TEXTLAYER_IMPLEMENTATION(font, CFTypeRef)
TFY_CATEGORY_CHAIN_TEXTLAYER_IMPLEMENTATION(fontSize, CGFloat)
TFY_CATEGORY_CHAIN_TEXTLAYER_IMPLEMENTATION(foregroundColor, CGColorRef)
TFY_CATEGORY_CHAIN_TEXTLAYER_IMPLEMENTATION(wrapped, BOOL)
TFY_CATEGORY_CHAIN_TEXTLAYER_IMPLEMENTATION(truncationMode, CATextLayerTruncationMode)
TFY_CATEGORY_CHAIN_TEXTLAYER_IMPLEMENTATION(alignmentMode, CATextLayerAlignmentMode)
TFY_CATEGORY_CHAIN_TEXTLAYER_IMPLEMENTATION(allowsFontSubpixelQuantization, BOOL)

@end
TFY_CATEGORY_LAYER_IMPLEMENTATION(CATextLayer, TFY_TextLayerChainModel)
#undef TFY_CATEGORY_CHAIN_TEXTLAYER_IMPLEMENTATION

